package com.liu.lab06.pojo;

import java.io.Serializable;

public class Music implements Serializable {
    private int id;
    private String musicname;
    private String singer;
    private int ranking;
    private int category_id;



    public Music(){

    }
    public Music(int id, String musicname, String singer, int rank, int category_id) {
        this.id = id;
        this.musicname = musicname;
        this.singer = singer;
        this.ranking = rank;
        this.category_id = category_id;
    }


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getMusicname() {
        return musicname;
    }

    public void setMusicname(String musicname) {
        this.musicname = musicname;
    }

    public String getSinger() {
        return singer;
    }

    public void setSinger(String singer) {
        this.singer = singer;
    }

    public int getRanking() {
        return ranking;
    }

    public void setRanking(int ranking) {
        this.ranking = ranking;
    }

    public int getCategory_id() {
        return category_id;
    }

    public void setCategory_id(int category_id) {
        this.category_id = category_id;
    }
}
